package edu.siu.math.egut.drivers;

import edu.siu.math.egut.util.*;

/**
 * A class for testing structure constants.
 * 
 * @author joe pleso
 *
 */
public class StructureConstantChecker {

    /**
     * Prints out the structure constants matrix of G2..
     * 
     * @param args these are ignored
     */
    public static void main(String[] args) {
	

	ExceptionalGroup g = ExceptionalGroup.getGroup(2);
	int[][] r = g.getPositiveRoots();
	for( int i = 0 ; i < 6; i++)
	{
	    int[] a = r[i];
	    System.out.println(g.toString(a));
	    for( int j = 0; j < 6; j++)
	    { 
		
		int[] b = r[j];
	
		
		System.out.print(g.toString(b)+" ");
		
	System.out.print(g.getStructureConstant(a, b)+",");
	
	    }
	    System.out.println();
	}
    }

}
